﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.API.Common.Model
{
    public class FileStationUpload
    {
        /// <summary>
        /// 群辉上传API
        /// </summary>
        public virtual String api { get; set; }
        /// <summary>
        /// 方法名
        /// </summary>
        public virtual String method { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public virtual Int32 version { get; set; } 
        /// <summary>
        /// 存储路径
        /// </summary>
        public virtual String path { get; set; }
        /// <summary>
        /// 是否创建父路径
        /// </summary>
        public virtual Boolean create_parents { get; set; }
        /// <summary>
        /// 是否允许覆盖
        /// </summary>
        public virtual Boolean overwrite { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public virtual Int64 mtime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual Int64 crtime { get; set; }
        /// <summary>
        /// 最后访问时间
        /// </summary>
        public virtual Int64 atime { get; set; }
        /// <summary>
        /// 文件流
        /// </summary>
        public virtual Stream filename { get; set; }
    }
}
